/**   
* @Title: Comment.java 
* @Package com.thomas.entity 
* @Description: TODO(用一句话描述该文件做什么) 
* @author liujian   
* @date 2017年8月1日 下午8:41:02 
* @version V1.0   
*/
package com.thomas.entity;

import java.util.Date;

/** 
 * @ClassName: Comment 
 * @Description: 评论实体
 * @author thomas_liu
 * @date 2017年8月1日 下午8:41:02 
 *  
 */
public class Comment {
	private Integer id;//编号
	private String userIp;//用户IP
	private String content;//评论内容
	private Blog blog;//被评论的博客
	private Date commentDate;//评论日期
	private Integer state;//审核状态  0待审核  1审核通过  2审核未通过
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserIp() {
		return userIp;
	}
	public void setUserIp(String userIp) {
		this.userIp = userIp;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Blog getBlog() {
		return blog;
	}
	public void setBlog(Blog blog) {
		this.blog = blog;
	}
	public Date getCommentDate() {
		return commentDate;
	}
	public void setCommentDate(Date commentDate) {
		this.commentDate = commentDate;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	
	
}
